* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: 0;
    text-decoration: none
}

:root {
    --ducksite-groundfloor: #f3f3f3;
    --ducksite-common: #eee;
    --ducksite-background: #fff;
    --ducksite-text: #000;
    --ducksite-content: #646464;
    --ducksite-line: #dadada;
    --ducksite-shadow: #ccc;

    --ducksite-hover: #cacaca;
    --ducksite-active: #bbb;

    /* 常规 */
    --ducksite-themecolor-1: #457DFF;
    --ducksite-themecolor-1-bg: #457DFF;
    --ducksite-themecolor-1-tx: #fff;
    /* 悬浮 */
    --ducksite-themecolor-2: #6699FF;
    --ducksite-themecolor-2-bg: #6699FF;
    --ducksite-themecolor-2-tx: #fff;
    /* 点击 */
    --ducksite-themecolor-3: #2B57D2;
    --ducksite-themecolor-3-bg: #2B57D2;
    --ducksite-themecolor-3-tx: #fff;
    /* 特殊场景 */
    --ducksite-themecolor-4: #86B3FF;
    --ducksite-themecolor-4-bg: #86B3FF;
    --ducksite-themecolor-4-tx: #fff;
    /* 一般禁用 */
    --ducksite-themecolor-5: #A7CAFF;
    --ducksite-themecolor-5-bg: #A7CAFF;
    --ducksite-themecolor-5-tx: #fff;
    /* 文字禁用 */
    --ducksite-themecolor-6: #C7E0FF;
    --ducksite-themecolor-6-bg: #C7E0FF;
    --ducksite-themecolor-6-tx: #000;
    /* 浅色/白底悬浮 */
    --ducksite-themecolor-7: #E8F3FF;
    --ducksite-themecolor-7-bg: #E8F3FF;
    --ducksite-themecolor-7-tx: #000;
}

body,
p {
    margin: 0
}

a {
    color: var(--ducksite-text)
}

input[type="radio"] {
    accent-color: var(--ducksite-themecolor-1);
}

.swal-overlay {
    z-index: 99999999999
}

.app {
    overflow: auto;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    background: var(--ducksite-groundfloor);
    color: var(--ducksite-text);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
}

.app-header li,
.app-header ul,
.app-main-begin li,
.app-main-begin ul {
    margin: 0;
    padding: 0;
    list-style-type: none
}

.app,
header.app-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

header.app-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999999;
    padding: 0 35px;
    height: 64px;
    background: var(--ducksite-background);
    -webkit-box-shadow: 0 -4px 10px 0 var(--ducksite-shadow);
    box-shadow: 0 -4px 10px 0 var(--ducksite-shadow);
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap
}

img.app-header-title {
    max-height: 25px;
    cursor: pointer
}

ul.app-header-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0 20px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row
}

.app-header-nav-item {
    margin: 10px;
    font-size: 16px;
    cursor: pointer
}

.app-header-nav-item.active {
    color: var(--ducksite-themecolor-1)
}

a.app-header-nav-item:hover {
    color: var(--ducksite-themecolor-1);
}

.app-header-space {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1
}

img.app-header-user {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer
}

main.app-main {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-top: 64px;
    width: 1000px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center
}

.app-main-content-item-title {
    margin: 15px 0;
    font-weight: 900;
    font-size: 27px
}

.app-cards {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
}

.app-main-content-item-content {
    width: 100%
}

.app-cards.app-cards-block {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap
}

.app-cards-item {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 25px 30px;
    width: 100%;
    background: var(--ducksite-background);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
}

img.app-cards-item-user-img {
    width: 47px;
    border-radius: 50%
}

.app-cards-item-user {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 10px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap
}

img.app-cards-item-img {
    margin-top: 13px;
    width: 200px;
    border-radius: 3px;
    background: var(--ducksite-common);
    object-fit: contain;
    -o-object-fit: contain
}

.app-cards-item-user-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-left: 10px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}

.app-cards-item-user-info .app-user-nandg {
    font-size: 20px
}

.app-cards-item-user-info-date {
    color: var(--ducksite-content);
    font-size: 13px
}

.app-cards-item-title {
    margin-bottom: 2px;
    width: 100%;
    font-weight: 700;
    font-size: 20px
}

.app-cards-item-content {
    width: 100%;
    color: var(--ducksite-content);
    font-size: 14px;
    white-space: pre-wrap !important;
    word-break: normal;
    overflow-wrap: anywhere
}

.app-main-content-item {
    margin-bottom: 20px
}

.app-main-content-item,
footer.app-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
}

footer.app-footer {
    width: 100%;
    background: var(--ducksite-background);
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    -webkit-box-shadow: 0 4px 10px 0 var(--ducksite-shadow);
    box-shadow: 0 4px 10px 0 var(--ducksite-shadow);
}

.app-footer-service {
    padding: 50px 0;
    width: 80%
}

.app-footer-about,
.app-footer-service {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}

.app-footer-about {
    padding: 28px 20%;
    width: 100%;
    border-top: 1px solid var(--ducksite-line);
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row
}

.app-footer-about-space {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1
}

.app-footer-service-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-right: 20px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
}

.app-footer-service-item-title {
    margin-bottom: 5px;
    font-weight: 700;
    font-size: 20px
}

.app-footer-service-item:first-child {
    margin-right: 15.38462%;
    width: 28.57143%
}

.app-footer-service-item-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column
}

a.app-url {
    position: relative;
    cursor: pointer
}

a.app-url,
a.app-url:before {
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s
}

a.app-url:before {
    position: absolute;
    right: 0;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #000;
    content: "";
    -webkit-transform: scale(0);
    transform: scale(0);
    -ms-transform: scale(0)
}

a.app-url:hover:before {
    background: var(--ducksite-themecolor-1);
    -webkit-transform: scale(1);
    transform: scale(1);
    -ms-transform: scale(1)
}

a.app-url:hover {
    color: var(--ducksite-themecolor-1)
}

img.app-footer-about-logo {
    max-height: 25px
}

.app-main-content {
    width: 100%
}

.desktop.website.app.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
}

.desktop.website.app.fixed footer {
    position: fixed;
    bottom: 0;
    left: 0
}

.editormd-fullscreen {
    z-index: 100000000000000000
}

.app-main-sendpost {
    position: absolute;
    top: 79px;
    right: 0;
    padding: 7px 10px;
    border-radius: 3px;
    background: var(--ducksite-themecolor-1);
    color: #fff
}

.app-main-content-item-img {
    position: relative;
    width: 100%;
    height: 30vh;
    min-height: 3vh;
    background: url(/static/image/bg.jpg);
    background-size: cover
}

/* 
.app-main-content-item-panel-li {
	border-radius: 3px;
	background-color: #fff
}

.app-main-content-item-panel-li:hover {
	border-radius: 3px;
	background-color: var(--ducksite-themecolor-2)
}

.app-main-content-item-panel {
	width: 100%;
	background-color: #fff
}

.app-main-content-item-panel-list {
	float: left;
	width: 15%;
	min-height: 50vh;
	background-color: #f7f7f7;
	-webkit-box-shadow: 2px 0 10px 0 rgba(0, 0, 0, .3);
	box-shadow: 2px 0 10px 0 rgba(0, 0, 0, .3)
}

.app-main-content-item-panel-page {
	float: right;
	width: 85%;
	background-color: #fff
} */

.app-cards-item:after {
    position: absolute;
    bottom: 0;
    left: 15px;
    width: calc(100% - 30px);
    height: 1px;
    background: var(--ducksite-line);
    content: ""
}

.app-cards-item:last-child:after {
    height: 0
}

.app-main-content-item-img-info {
    position: absolute;
    bottom: 5%;
    width: 100%;
    left: 5%
}

.app-main-content-item-img-info-img {
    float: left;
    width: 10%;
    border-radius: 50%
}

.app-main-content-item-img-info-user {
    float: left;
    width: 15%;
}

.app-main-content-item-img-info-h2 {
    float: left;
    color: #FFFFFF;
}

.app-main-content-item-img-info-h5 {
    float: left;
    color: #FFFFFF;
}

.app-cards-item:first-child {
    border-top-right-radius: 3px;
    border-top-left-radius: 3px
}

.app-cards-item:last-child {
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px
}

/* 底部导航栏 */
.app-mobile-nav {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    flex-direction: row;
    height: 64px;
    background: #fff;
    -webkit-box-shadow: 0 4px 10px 0 var(--ducksite-shadow);
    box-shadow: 0 4px 10px 0 var(--ducksite-shadow);
    display: none;
}

img.app-mobile-nav-item {
    flex: 1;
    object-fit: contain;
    padding: 12px;
}

img.app-mobile-nav-item.active {
    background: var(--ducksite-groundfloor);
}

.app-header-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: .35s;
    background: #0002;
    visibility: hidden;
}

/* 用户 昵称和用户组 展示组件 */
.app-user-nandg span {
    font-size: 50%;
    padding: 2px 8px;
    background: var(--ducksite-groundfloor);
    border-radius: 100px;
    font-weight: normal;
}

.app-user-nandg {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}

@media (max-width:1130px) {
    main.app-main {
        width: calc(100% - 114px)
    }
}

@media (max-width:850px) {
    .app-footer-service-item {
        margin-right: 15px;
    }

    .app-footer-about {
        padding: 28px 10%;
    }
}

@media (max-width:700px) {
    .app-footer-service {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        padding: 50px 0 20px;
    }

    .app-footer-service-item {
        margin-right: 0px !important;
        width: 100% !important;
        margin: 0px 0px 20px
    }

    .app-footer-about {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        padding: 28px 0;
    }

    .app-footer-about-logo {
        margin-bottom: 20px
    }
}

@media (max-width:600px) {
    main.app-main {
        width: 100%
    }

    .app-main-content-item {
        padding: 0 30px
    }

    .app-cards-item-content {
        width: 100%;
        font-size: 14px
    }

    .app-cards-item-title {
        width: 100%
    }

    .app-main-sendpost {
        right: 30px
    }

    /* 移动端页头适配 */
    header.app-header>a:has(.app-header-user) {
        display: none;
    }

    ul.app-header-nav {
        position: fixed;
        top: 0;
        display: flex;
        flex-direction: column;
        width: 256px;
        height: 100%;
        background: var(--ducksite-background);
        margin: 0;
        z-index: 2;
        overflow: auto;
        transition: .35s;
        right: -300px;
    }

    .app-header-mask.show {
        opacity: 1;
        visibility: visible;
    }

    .app-header-nav-item {
        width: 100%;
        display: block;
        margin: 0;
        padding: 14px 18px;
    }

    ul.app-header-nav.show {
        right: 0%;
    }

    .app-header-menu {
        width: 30px;
        height: 30px;
        background-image: url(/static/image/menu.svg);
    }

    /* 底部导航栏 */
    .app-mobile-nav {
        display: flex;
    }

    .app {
        margin-bottom: 64px;
    }
}

@media (max-width:500px) {
    body {
        zoom: 0.9;
    }

    .app-cards-item-content {
        line-height: 20px;
        max-height: 100px;
        text-overflow: ellipsis;
        overflow: hidden;
    }
}

@media (max-width:400px) {
    body {
        zoom: 0.8;
    }
}